package com.di.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.di.base.common.exception.BusinessException;
import com.di.base.entity.StorageTbl;

import java.util.Map;

public interface StorageTccService extends IService<StorageTbl> {

    // Saga 方法
    void decrease(String productId, int amount) ;

    void increase(String productId, int amount) ;
}